import Vue from "vue"
import ElementUI from "element-ui"
import "element-ui/lib/theme-chalk/index.css"
import router from "./router"
import App from "./App.vue"
import store from "./store/index"
import "./router/permission" // 权限控制
import http from "./utils/http.js" //接口请求封装
import "./assets/style/pubilc.style.css" //全局预设样式
import "@/assets/style/common.scss"
import moment from "moment"
Vue.prototype.$http = http
Vue.prototype.$moment = moment //时间处理函数
Vue.config.productionTip = false
console.log("当前请求的基本地址", process.env.VUE_APP_baseUrl)
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app")
